SftTree/OCX 7.0

SftTreeItem.Selected Property

Softel vdm, Inc.

Defines whether the item is selected.

Syntax       

Get

VB.NET

Boolean = object.Selected  As Boolean

VB

Boolean = object.Selected  As Boolean

C#.NET

bool Boolean = object.Selected;

VC++

VARIANT_BOOL Boolean = object->Selected;
VARIANT_BOOL Boolean = object->GetSelected();

C

HRESULT object->get_Selected(VARIANT_BOOL* Boolean);

Delphi

Boolean := object.Selected   : WordBool;

Put

VB.NET

object.Selected = Boolean  As Boolean

VB

object.Selected = Boolean  As Boolean

C#.NET

bool object.Selected = Boolean;

VC++

VARIANT_BOOL object->Selected = Boolean;
void object->PutSelected(VARIANT_BOOL Boolean);

C

HRESULT object->put_Selected(VARIANT_BOOL Boolean);

Delphi

object.Selected := Boolean   : WordBool;

object

A SftTreeItem object.

Boolean

Defines whether the item is selected.

Boolean

Description

True

The item is selected.

False

The item is not selected.

Comments

The Selected property defines whether the item is selected.

The Items.SelectRange method can be used to select a range of items at one time.  Items can be selected individually using the Item.Selected property.

The Items.Selection property returns the index of one or more selected items.  The Items.SelectionGroupStart and Items.SelectionGroupEnd properties are used to retrieve groups of selected items.

See Also  SftTreeItem Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com